package com.xyy.ebattery.tcp.app.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description TODO
 * @author JIA BOYAN
 * date 2025/06/16  17.45
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "netty")
public class NettyConfig {
    private int port = 10000;
    private int bossThreads = 1;
    private int workerThreads = 8;
    private boolean keepAlive = true;
    private int backlog = 128;

    // Getters and Setters
}